package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Employee;

public interface EmployeeMapper {

	public int deleteEmployeeById(long id);

	public Employee selectEmployeeById(long id);

	public List<Employee> selectEmployeeByMap(Map<String,Object> map);

	public List<Employee> selectEmployee(Employee employee);

	public List<Employee> selectAllEmployee();

	public int insertEmployee(Employee employee);

	public int updateEmployee(Employee employee);

	public int deleteEmployee(Employee employee);

	public int updateEmployeeByMap(Map<String,Object> map);

	public int deleteEmployeeByMap(Map<String,Object> map);
	public int getAllEmployeeCounts();
	public int getEmployeeCounts(Employee employee);
	public int getEmployeeCountsByMap(Map<String,Object> map);
}
